﻿/*CREATE TRIGGER [dbo].[Secciones_DeletionTrigger] 
    ON [Secciones] 
    AFTER DELETE 
AS 
SET NOCOUNT ON 
UPDATE [dbo].[Secciones_Tombstone] 
    SET [DeletionDate] = GETUTCDATE() 
    FROM deleted 
    WHERE deleted.[SeccionGuid] = [Secciones_Tombstone].[SeccionGuid] 
IF @@ROWCOUNT = 0 
BEGIN 
    INSERT INTO [dbo].[Secciones_Tombstone] 
    ([SeccionGuid], DeletionDate)
    SELECT [SeccionGuid], GETUTCDATE()
    FROM deleted 
END*/